import * as api from '../api/api'
export function save(postData) {
  return api.post('/wiseman-advise/save', postData)
}

export function removeById(id) {
  return api.post('/wiseman-advise/remove-by-id', {
    id
  })
}

export function update(postData) {
  return api.post('/wiseman-advise/update', postData)
}

export function list(params) {
  return api.post('/wiseman-advise/list', params)
}
export function recommendGoods(adviseId) {
  return api.post('/wiseman-advice/recommend-goods', {
    adviseId
  })
}

export function goodsSkuList(adviseId) {
  return api.get('/wiseman-advise/goods_sku_list', {
    adviseId
  })
}
